#pragma once

#include "DdfFile.h"
#include "DdsImage.h"
namespace dds
{

class CDdfFileHelper:public CDdfFile
{
public:
	CDdfFileHelper(void);
	~CDdfFileHelper(void);

	void			Run();
	void			Stop();
	void			Pause();
	void			SeekingPos( int pos );
	void			SeekingFirst();
	void			SeekingLast();
	void			Rewind();
	void			Forword();
	int				GetCurFrameID(){ return m_nCurFrameNum;}
	CDdfFrame *		GetUpdateFrame();
protected:
	HANDLE			m_hThreadID;
	int				m_nPlayFrameRate;
	bool			m_bStop;

};

};